package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 应用推送
 * @author Rongjie
 */
@Data
@TableName("mall_app_push")
@KeySequence(value = "mall_app_push_SEQ")
@ApiModel(value = "MallAppPush对象")
public class MallAppPush implements Serializable{

       private String appKey;

       @TableId(value = "push_key", type = IdType.UUID)
       @ApiModelProperty(value = "推送主键")
       private String pushKey;

       @ApiModelProperty(value = "推送类型：SINGLE：单推 GROUP：群推，GLOBAL：全局）")
       private String pushType;

       @ApiModelProperty(value = "推送设备ID")
       private String clientId;

       @ApiModelProperty(value = "标题 ")
       private String pushTitle;

       @ApiModelProperty(value = "内容")
       private String content;

       @ApiModelProperty(value = "透传消息内容")
       private String transmissionInfo;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
